[INFO] cloning repository https://github.com/lead-pb/lead
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lead-pb/lead" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flead-pb%2Flead", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flead-pb%2Flead'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c32b487057c67c6194d12dd34bf44c8c24080c4a
[INFO] fixing lead-pb/lead against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flead-pb%2Flead" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lead-pb/lead
[INFO] finished tweaking git repo https://github.com/lead-pb/lead
[INFO] tweaked toml for git repo https://github.com/lead-pb/lead written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lead-pb/lead on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lead-pb/lead already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458
[INFO] running `Command { std: "docker" "start" "4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking lead v0.0.1 (/opt/rustwide/workdir/crates/lead)
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]   --> crates/lead/src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct WeakPbBuf<T> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 19 |     buffer: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]   --> crates/lead/src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct WeakPb<'buf, T> {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 24 |     buffer: &'buf [u8],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WireType` is never constructed
[INFO] [stdout]  --> crates/lead/src/codec/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct WireType(u8);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> crates/lead/src/codec/mod.rs:7:15
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl WireType {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  7 |     pub const VARINT: Self = Self(0);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]  8 |     pub const I64: Self = Self(1);
[INFO] [stdout]    |               ^^^
[INFO] [stdout]  9 |     pub const LEN: Self = Self(2);
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 10 |     pub const SGROUP: Self = Self(3);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 11 |     pub const EGROUP: Self = Self(4);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 12 |     pub const I32: Self = Self(5);
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     pub const fn into_u8(self) -> u8 {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub const fn from_u8(num: u8) -> Option<Self> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEB128_CONTINUATION` is never used
[INFO] [stdout]   --> crates/lead/src/codec/decode.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const LEB128_CONTINUATION: u8 = 0b1000_0000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LEB128_MASK` is never used
[INFO] [stdout]   --> crates/lead/src/codec/decode.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const LEB128_MASK: u8 = 0b0111_1111;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `VarintError` is never used
[INFO] [stdout]   --> crates/lead/src/codec/decode.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum VarintError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complete_varint` is never used
[INFO] [stdout]   --> crates/lead/src/codec/decode.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const fn complete_varint(input: &[u8]) -> Result<(&[u8], u64), VarintError> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking lead_example_simple v0.0.1 (/opt/rustwide/workdir/examples/simple)
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]   --> crates/lead/src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct WeakPbBuf<T> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 19 |     buffer: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]   --> crates/lead/src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct WeakPb<'buf, T> {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 24 |     buffer: &'buf [u8],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WireType` is never constructed
[INFO] [stdout]  --> crates/lead/src/codec/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct WireType(u8);
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> crates/lead/src/codec/mod.rs:7:15
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl WireType {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  7 |     pub const VARINT: Self = Self(0);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]  8 |     pub const I64: Self = Self(1);
[INFO] [stdout]    |               ^^^
[INFO] [stdout]  9 |     pub const LEN: Self = Self(2);
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 10 |     pub const SGROUP: Self = Self(3);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 11 |     pub const EGROUP: Self = Self(4);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 12 |     pub const I32: Self = Self(5);
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     pub const fn into_u8(self) -> u8 {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub const fn from_u8(num: u8) -> Option<Self> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add` in this scope
[INFO] [stdout]   --> examples/simple/src/lib.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let result = add(2, 2);
[INFO] [stdout]    |                      ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use lead::add;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lead_example_simple` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458", kill_on_drop: false }`
[INFO] [stdout] 4e90c974b82b612242916a995510c1dd8e4accd043417b251dc9440adf630458
